<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			#d1{
				width: 2300px;
				height: 400px;
				border: 2px solid gold;
				display: flex;
				flex-flow: row nowrap;
			}
			#d1 div{
				margin: 3px;
				height: 100px;
				width: 100px;
				background-color: #006AC0;
				color: white;
				font-size: 18px;
				text-align: center;
				flex-grow: 1;
			}
			#d1 div.c3{
				/*对比flex-basis和flex-grow的区别*/
				flex-grow: 2;
			}
		</style>
	</head>
	<body>
		<div id="d1">
			<div>1</div>
			<div>2</div>
			<div>3</div>
			<div>4</div>
			<div class="c3">5</div>
			<div class="c3">6</div>
			<div>7</div>
			<div>8</div>
		</div>
	</body>
</html>
